Resource URL: /platform/<<version=4>>/cloud/proxies/<PROXY>

    Overview: This resource applies the standard collection item pattern to
              individual OneFS cloud accounts. ACCOUNT in the resource path is
              the account name.

     Methods: GET, PUT, DELETE

********************************************************************************

Method GET: Retrieve cloud account information.

       URL: GET /platform/<<version=4>>/cloud/proxies/<PROXY>

Query arguments:

GET response body schema:
{
  "type": [
    {
      "additionalProperties": false, 
      "type": "object", 
      "description": "A list of errors that may be returned.", 
      "properties": {
        "errors": {
          "items": {
            "additionalProperties": false, 
            "type": "object", 
            "description": "An object describing a single error.", 
            "properties": {
              "field": {
                "type": "string", 
                "description": "The field with the error if applicable."
              }, 
              "message": {
                "type": "string", 
                "description": "The error message."
              }, 
              "code": {
                "type": "string", 
                "description": "The error code."
              }
            }
          }, 
          "type": "array"
        }
      }
    }, 
    {
      "additionalProperties": false, 
      "type": "object", 
      "properties": {
        "proxies": {
          "minItems": 0, 
          "items": {
            "type": "object", 
            "description": "The configuration settings for a network proxy", 
            "properties": {
              "username": {
                "type": [
                  "string", 
                  "null"
                ], 
                "description": "The username to connect to this proxy if required"
              }, 
              "name": {
                "type": "string", 
                "description": "A unique friendly name for this proxy configuration"
              }, 
              "type": {
                "enum": [
                  "socks_4", 
                  "socks_5", 
                  "http"
                ], 
                "type": "string", 
                "description": "The type of connection used to connect to this proxy"
              }, 
              "id": {
                "type": "string", 
                "description": "A globally unique ID (guid) or the name of this proxy (read-only)"
              }, 
              "host": {
                "type": "string", 
                "description": "A host name or network address for connecting to this proxy"
              }, 
              "password": {
                "type": [
                  "string", 
                  "null"
                ], 
                "description": "The password to connect to this proxy if required (write-only)"
              }, 
              "password_is_set": {
                "type": "boolean", 
                "description": "Indicates whether a password has been set for this proxy"
              }, 
              "port": {
                "type": "integer", 
                "description": "The port used to connect to this proxy"
              }
            }
          }, 
          "type": "array", 
          "maxItems": 4294967295
        }, 
        "resume": {
          "minLength": 0, 
          "type": [
            "string", 
            "null"
          ], 
          "description": "Continue returning results from previous call using this token (token should come from the previous call, resume cannot be used with other options)."
        }
      }
    }
  ]
}

********************************************************************************

Method PUT: Modify cloud account.  All fields are optional, but one or more
            must be supplied.

       URL: PUT /platform/<<version=4>>/cloud/proxies/<PROXY>

There are no query arguments for this method.

PUT request body schema:
{
  "type": "object", 
  "description": "The configuration settings for a network proxy", 
  "properties": {
    "username": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "The username to connect to this proxy if required"
    }, 
    "name": {
      "type": "string", 
      "description": "A unique friendly name for this proxy configuration"
    }, 
    "host": {
      "type": "string", 
      "description": "A host name or network address for connecting to this proxy"
    }, 
    "password": {
      "type": [
        "string", 
        "null"
      ], 
      "description": "The password to connect to this proxy if required (write-only)"
    }, 
    "type": {
      "enum": [
        "socks_4", 
        "socks_5", 
        "http"
      ], 
      "type": "string", 
      "description": "The type of connection used to connect to this proxy"
    }, 
    "port": {
      "type": "integer", 
      "description": "The port used to connect to this proxy"
    }
  }
}

There is no JSON response body for this method.

********************************************************************************

Method DELETE: Delete cloud account.

          URL: DELETE /platform/<<version=4>>/cloud/proxies/<PROXY>

There are no query arguments for this method.

There is no JSON response body for this method.
